package main;

import java.util.ArrayList;

import serveur.ServeurUDP;

import data.*;

public class Main {

	public static void main(String[] args) {
		Stores st1 = new Stores("1022klm", 0, 75);
		Stores st2 = new Stores("122kmn", 1, 60);
		
		CollectionItemData cid = new CollectionItemData();
		cid.setLieu("Salon");
		cid.setItems(st1);
		cid.setItems(st2);
		
		ArrayList<ItemData> data = cid.getItems();
		for(ItemData item : data)
		{
			System.out.println(item.getType());
		}
		
		ServeurUDP serveur = new ServeurUDP();
		serveur.startServeur();
	}

}
